﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmartSpace
{
    public class PagedList<T> : List<T>
    {
        public int Start { get; set; }
        public int Limit { get; set; }
        public int Total { get; set; }

        public PagedList()
        {
        }

        public PagedList(List<T> list, int start, int limit, int total)
        {
            this.AddRange(list);
            this.Start = start;
            this.Limit = limit;
            this.Total = total;
        }
    }
}
